<?php
?>
<?php echo validation_errors(); ?>

<?php echo form_open('controller/login');

    $data1 = array(
        'type'  => 'text',
        'name'  => 'user_name',
        'id'    => 'user_name',
        'value' => 'user',
        'placeholder' => 'username'
    );
    echo form_label('Username', 'user_name');
    echo form_input($data1);
    
    $data2 = array(
        'type'  => 'text',
        'name'  => 'pass',
        'id'    => 'pass'
    );
    echo form_label('Password', 'pass');
    echo form_input($data2);

    
?>
</form>
